package com.flea.hclv.model.dao;

import com.flea.hclv.model.entity.HTourGroupVisitor;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface HTourGroupVisitorMapper {
    int deleteByPrimaryKey(String id);

    int insert(HTourGroupVisitor record);

    int insertSelective(HTourGroupVisitor record) throws Exception;

    HTourGroupVisitor selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HTourGroupVisitor record);

    int updateByPrimaryKey(HTourGroupVisitor record);

    int deleteByTourGroupIdAndVisitorId(@Param("hTourGroupId") String hTourGroupId, @Param("list") List<String> visitorIds);



	int deleteByVistorAndGroupSelective(HTourGroupVisitor vgr) throws Exception;

	List<HTourGroupVisitor> findByGroupId(RowBounds rowBounds,@Param("groupId")String groupId);

    List<HTourGroupVisitor> selectByGroupId(String groupId);
}